home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / networking / 2643 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.9 KB  |  58 lines

  1. Path: news.mountain.net!usenet
  2. From: gene_heskett@wvlink.mpl.com (Gene Heskett)
  3. Newsgroups: comp.sys.amiga.networking
  4. Subject: Re: Is PPP recoverable after reset???
  5. Date: 19 Mar 96 23:13:58 +0500
  6. Organization: MountainNet, Inc. Morgantown WV 800.444.1458
  7. Message-ID: <1548.6652T1393T2920@wvlink.mpl.com>
  8. References: <Pine.OSF.3.91.960319105636.3279B-100000@Galeon.uca.es>
  9. NNTP-Posting-Host: slip3.mpl.com
  10. X-Newsreader: THOR 2.22 (Amiga;TCP/IP)
  11.  
  12.  
  13.  MLC>    If I've connected with PPP to my Internet provider and the Amiga
  14.  MLC> crashed and reset itself (the modem no hang up), may I recover
  15.  MLC> the  connection without hang up and dial again ?     How I do
  16.  MLC> ???
  17.  
  18.  MLC>                 Thanks in advance.
  19.  
  20. Relatively easily. I have a script that run from toolmanager in that
  21. case, which is basicly the startnet script without the dialup stuffs.
  22.  
  23. I keep it in AmiTCP:bin, but as long as toolmanager can find it.
  24. -----------------------------script start-----------------------
  25. AmiTCP:bin/online devs:networks/ppp.device 0 
  26. AmiTCP:bin/login -f Your_AmiTCP_registered_name
  27. AmiTCP:bin/umask 022
  28. AmiTCP:AmiTCP
  29. WaitForPort AMITCP
  30. ; Configure loop-back device
  31. AmiTCP:bin/ifconfig lo0 localhost
  32. ; Configure ppp0
  33. AmiTCP:bin/ifconfig ppp0 $ppp0iplocal $ppp0ipremote
  34. ; Add route to this host
  35. AmiTCP:bin/route add $ppp0iplocal localhost
  36. AmiTCP:bin/route add default $ppp0ipremote
  37. Assign TCP: Exists > NIL:
  38. IF Warn
  39.   Mount TCP: from AmiTCP:devs/Inet-Mountlist
  40. EndIf
  41. run >NIL: AMITCP:serv/inetd
  42. Wait 1
  43. ; and, if your DNS is as stupid as mine
  44. setenv HOSTNAME "you@your.server.provider.etc"
  45. ;else Amosaic won't run
  46. If Exists AmiTCP:db/User-Startnet
  47.       Execute AmiTCP:db/User-Startnet
  48. EndIf
  49. -----------------------------script end---------------------------
  50. Hope this helps
  51.  
  52. /*            Gene Heskett          |  These opinions are NOT to be  */
  53. /*  CE @ WDTV Weston/Clarksburg WV  |  confused with the official    */
  54. /*  <gene_heskett@wvlink.mpl.com>   |  WDTV managment views          */
  55. #include <std.disclaimer>
  56.  
  57.  
  58.